package qianting.news.auth.controller;

import io.swagger.annotations.Api;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@Api(tags = "测试管理")
@RestController
@RequestMapping("/test")
@Slf4j
public class TestController {

    @GetMapping("testLogback")
    public void testLogback(){

        log.info("logback成功了");
        log.warn("logback成功了");
        log.error("logback成功了");

    }

}
